package com.ruoyi.htzj.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;
import com.ruoyi.htzj.domain.HtzjStreets;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.htzj.domain.bo.HtzjStreetsBo;
import jakarta.validation.Valid;

import java.util.List;

/**
* @author xq
* @description 针对表【htzj_streets(街道信息表)】的数据库操作Service
* @createDate 2025-03-24 03:09:17
*/
public interface HtzjStreetsService extends IService<HtzjStreets> {

    TableDataInfo<HtzjStreets> queryPageList(HtzjStreets streets, PageQuery pageQuery);

    R<List<HtzjStreets>> queryList(HtzjStreets streets);

    HtzjStreets queryById(Long id);

    void insertStreets(@Valid HtzjStreetsBo htzjStreetsBo);

    void updateStreets(@Valid HtzjStreetsBo htzjStreetsBo);

    void deleteStreetsByIds(Long[] streetIds);
}
